Release 10.1A: OpenEdge Development:
ADM Reference
assignQuerySelection
Selection criteria for a query. This is used by the column/value pairs of the corresponding buffer’s where-clause.
Location: query.p Parameters:INPUT pcColumns AS CHARACTERA comma-separated list of column names.
INPUT pcValues AS CHARACTERA CHR(1)-separated list of the corresponding values.
INPUT pcOperators AS CHARACTERThe operator (one for all columns):
- Each buffer’s expression is always enclosed in parentheses.
- This procedure is designed to run on the client so that it can be called multiple times. This design lets you build up the query’s WHERE clause by storing intermediate results in the QueryString property before it is finally used in a Query–Prepare method.
- openQuery helps prepare the QueryString property.
- The QueryColumns property ensures that each column and operator is added only once to the QueryString. The property also stores the offset and length of the corresponding values.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |